[INFO] cloning repository https://github.com/louisstewart/AVLTreeRs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/louisstewart/AVLTreeRs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisstewart%2FAVLTreeRs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisstewart%2FAVLTreeRs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc90045787167a00d425ed9b96bccfb4d18de63f
[INFO] building louisstewart/AVLTreeRs against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisstewart%2FAVLTreeRs" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/louisstewart/AVLTreeRs on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/louisstewart/AVLTreeRs
[INFO] finished tweaking git repo https://github.com/louisstewart/AVLTreeRs
[INFO] tweaked toml for git repo https://github.com/louisstewart/AVLTreeRs written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/louisstewart/AVLTreeRs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 021f256b51c2d8b55dce8b2f7d38cb18b5a77c9ff3c15b5e1fd4de08f8a36b2e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "021f256b51c2d8b55dce8b2f7d38cb18b5a77c9ff3c15b5e1fd4de08f8a36b2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "021f256b51c2d8b55dce8b2f7d38cb18b5a77c9ff3c15b5e1fd4de08f8a36b2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "021f256b51c2d8b55dce8b2f7d38cb18b5a77c9ff3c15b5e1fd4de08f8a36b2e", kill_on_drop: false }`
[INFO] [stdout] 021f256b51c2d8b55dce8b2f7d38cb18b5a77c9ff3c15b5e1fd4de08f8a36b2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17096fc0e5d47cec3c530eb9f6e8385d653815424af14535c38ee6eaebd191be
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "17096fc0e5d47cec3c530eb9f6e8385d653815424af14535c38ee6eaebd191be", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling tree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `true`
[INFO] [stdout]   --> src/tree.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 self.root = Some(delete(node, val))
[INFO] [stdout]    |                                                    - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 60 |                 true
[INFO] [stdout]    |                 ^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found keyword `false`
[INFO] [stdout]   --> src/tree.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 self.root = None
[INFO] [stdout]    |                                 - expected one of 8 possible tokens
[INFO] [stdout] 64 |                 false
[INFO] [stdout]    |                 ^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `t` in this scope
[INFO] [stdout]    --> src/tree.rs:221:79
[INFO] [stdout]     |
[INFO] [stdout] 221 | fn remove_in<T: PartialEq + Ord + Display>(node : Option<Box<Node<T>>>, val : t)
[INFO] [stdout]     |              - similarly named type parameter `T` defined here                ^ help: a type parameter with a similar name exists: `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tree.rs:162:11
[INFO] [stdout]     |
[INFO] [stdout] 162 |         -1...1 => return node,
[INFO] [stdout]     |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `More` found for enum `std::cmp::Ordering` in the current scope
[INFO] [stdout]    --> src/tree.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |         Ordering::More => node.right = remove_in(node, val)
[INFO] [stdout]     |                   ^^^^ variant or associated item not found in `std::cmp::Ordering`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tree.rs:150:30
[INFO] [stdout]     |
[INFO] [stdout] 150 |             return remove_in(node, val)
[INFO] [stdout]     |                              ^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected enum `Option`, found struct `Box`
[INFO] [stdout]     |                              help: try using a variant of the expected enum: `Some(node)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Box<Node<_>>>`
[INFO] [stdout]              found struct `Box<Node<T>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tree.rs:150:20
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn delete<T: PartialEq + Ord + Display>(mut node: Box<Node<T>>, val : T) -> Box<Node<T>> {
[INFO] [stdout]     |                                                                             ------------ expected `Box<Node<T>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 150 |             return remove_in(node, val)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^ expected struct `Box`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<Node<T>>`
[INFO] [stdout]                  found enum `Option<Box<Node<_>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tree.rs:152:49
[INFO] [stdout]     |
[INFO] [stdout] 152 |         Ordering::Less => node.left = remove_in(node, val),
[INFO] [stdout]     |                                                 ^^^^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 expected enum `Option`, found struct `Box`
[INFO] [stdout]     |                                                 help: try using a variant of the expected enum: `Some(node)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Box<_>>`
[INFO] [stdout]              found struct `Box<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tree.rs:153:50
[INFO] [stdout]     |
[INFO] [stdout] 153 |         Ordering::More => node.right = remove_in(node, val)
[INFO] [stdout]     |                                                  ^^^^
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  expected enum `Option`, found struct `Box`
[INFO] [stdout]     |                                                  help: try using a variant of the expected enum: `Some(node)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Box<_>>`
[INFO] [stdout]              found struct `Box<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tree.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | fn remove_in<T: PartialEq + Ord + Display>(node : Option<Box<Node<T>>>, val : t)
[INFO] [stdout]     |    --------- implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 222 |         -> Option<Box<Node<T>>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Option<Box<Node<T>>>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tree`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "17096fc0e5d47cec3c530eb9f6e8385d653815424af14535c38ee6eaebd191be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17096fc0e5d47cec3c530eb9f6e8385d653815424af14535c38ee6eaebd191be", kill_on_drop: false }`
[INFO] [stdout] 17096fc0e5d47cec3c530eb9f6e8385d653815424af14535c38ee6eaebd191be
